package com.pinc.cpbl;

import android.content.pm.PackageManager.NameNotFoundException;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

public class show_about extends WidgetActivity {
	private TextView tv_ver;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.about);

		initWidget();

		try {
			tv_ver.setText(getPackageManager().getPackageInfo(getPackageName(), 0).versionName);
		} catch (NameNotFoundException e) {
			e.printStackTrace();
		}
	}

	@Override
	protected void initUpbar() {
		tv_title.setText(R.string.title_about);
		b_right.setVisibility(View.GONE);
		mProgbar.setVisibility(View.GONE);
	}

	@Override
	protected void initWidget() {
		super.initWidget();
		tv_ver = (TextView) findViewById(R.id.textView_ver);
	}

}
